package com.bawei.fuxi_service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;

public class OneService extends Service {
    public OneService() {
    }
    @Override
    public IBinder onBind(Intent intent) {
        throw new UnsupportedOperationException("Not yet implemented");
    }
    @Override
    public void onCreate() {
        super.onCreate();
        Log.d("ytx", "onCreate:创建 ");
    }

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
        Log.d("ytx", "onStartCommand:启动 ");
        return super.onStartCommand(intent, flags, startId);
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        Log.d("ytx", "onDestroy:销毁 ");
    }
}
